package com.bond.jumper.common.po;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Arrays;

public class MessageToServer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户端license
     */
    private String license;

    /**
     * 宽度
     */
    private int width;

    /**
     * 高度
     */
    private int height;

    /**
     * 序列号
     */
    private BigDecimal sequence;

    /**
     * 鼠标X
     */
    private double pointX;

    /**
     * 鼠标Y
     */
    private double pointY;

    /**
     * 屏幕图像
     */
    private byte[] image;

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public BigDecimal getSequence() {
        return sequence;
    }

    public void setSequence(BigDecimal sequence) {
        this.sequence = sequence;
    }

    public double getPointX() {
        return pointX;
    }

    public void setPointX(double pointX) {
        this.pointX = pointX;
    }

    public double getPointY() {
        return pointY;
    }

    public void setPointY(double pointY) {
        this.pointY = pointY;
    }

    public byte[] getImage() {
        return image;
    }

    public void setImage(byte[] image) {
        this.image = image;
    }

    @Override
    public String toString() {
        return "MessageToServer{" +
                "license='" + license + '\'' +
                ", width=" + width +
                ", height=" + height +
                ", sequence=" + sequence +
                ", pointX=" + pointX +
                ", pointY=" + pointY +
                ", image=" + Arrays.toString(image) +
                '}';
    }
}
